package com.xxxy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author sjh
 * @date 2022/2/17 14:44
 */

@Data
@TableName("es_knowledge_point")
public class KnowledgePoint implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "科目对应知识点id")
    private Integer id;

    @ApiModelProperty(value = "科目id")
    private Integer courseId;

    @ApiModelProperty(value = "章节")
    private Integer chapter;

    @ApiModelProperty(value = "章节点(0为该章节内容)")
    private Integer chapterPoint;

    @ApiModelProperty(value = "章节点内容")
    private String outline;
}
